package com.lagou.work.workthree;
/*
* 抽象套餐类
* */
public abstract class PricingPac {

    //每月资费
    private double monthCharge;

    public PricingPac() {
    }

    public PricingPac(double monthCharge) {
        setMonthCharge(monthCharge);
    }

    public double getMonthCharge() {
        return monthCharge;
    }

    public void setMonthCharge(double monthCharge) {
        this.monthCharge = monthCharge;
    }
    //抽象方法展示对应的信息
    public abstract void show();
}
